﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.IO;

namespace SCG.SolarVengeance
{
    public partial class HelpPage : BasePage
    {
        //constructor
        public HelpPage()
        {
            InitializeComponent();
        }

        //initialize
        public override void Initialize()
        {
            string path = Path.GetDirectoryName(Application.ExecutablePath);
            path += "/Help/Introduction.htm";
            Uri uri = new Uri("file://" + path);
            browser.Navigate(uri);
        }

        //close help
        private void btnClose_Click(object sender, EventArgs e)
        {
            MainForm.ShowPage(Pages.Title);
        }
    }
}
